/**
 * 业务对比分析
 */
import request from '@/utils/request';

// 查询性能指标概况
export function queryPerformanceIndexSurvey(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/business/overview/queryPerformanceIndexSurvey',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'lishilei',
		},
	});
}

// 查询折线图数据
export function getContrastiveCharts(data: any): ApiPromise<ApiResponse> {
	return request({
		url: '/business-monitor/business/overview/getContrastiveCharts',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'lishilei',
		},
	});
}
